package com.example.demo.service;

import com.example.demo.entity.User;

import java.util.Date;

public interface LoginService {
    String getToken(User user);
    int logout(String token);
    User selectCurrentUser(String token);
}
